#include "player.h"

player::player()
{
}

player::~player()
{

}

void player::update()
{

}

void player::setId(int value)
{
	id = value;
}

void player::setTeam(int value)
{
	team = value;
}

int player::getPosX()
{
	return posX;
}

int player::getPosY()
{
	return posY;
}

void player::setPosX(int value)
{
	posX = value;
}

void player::setPosY(int value)
{
	posY = value;
}

int player::getId(){
	return id;
}

int player::getTeam(){
	return team;
}

ofColor player::getColor(){
	return color;
}

bool player::getLife()
{
	return isLife;
}
void player::setLife(bool value)
{
	isLife = value;
}
void player::setShooting(int value)
{
	stateShooting = value;
}
int player::getShooting()
{
	int out = stateShooting;
	stateShooting = 0 ;
	return out;
}

